package config

type Config struct {
	AppName string `toml:"app_name"`
	Version string `toml:"version"`

	ConfigCenter ConfigCenter `toml:"config-center"`
}

type ConfigCenter struct {
	AppID          string `toml:"AppID"`
	Cluster        string `toml:"Cluster"`
	IP             string `toml:"IP"`
	NamespaceName  string `toml:"NamespaceName"`
	Secret         string `toml:"Secret"`
	IsBackupConfig bool   `toml:"IsBackupConfig"`
}
